package com.lt.job_hunting;
import java.util.ArrayList;
import java.util.List;

public class WangEr implements Person {
	public List<String> jobType = new ArrayList<String>();
	public void addJobFromPerson() {
		jobType.add("硬件");
		jobType.add("软件");
	}
	
	public void receive(String job) {
		System.out.println("收到" + job + "岗位的通知");
	}

	@Override
	public List<String> getlist() {
		return this.jobType;
	}

	@Override
	public String getName() {
		// TODO �Զ����ɵķ������
		return "王二";
	}

	@Override
	public void lookingJob() {
		for(String jt : jobType) {
			System.out.println("用户" + getName() + "需要" + jt + "岗位");
		}
	}

	@Override
	public String getJob(int index) {
		// TODO �Զ����ɵķ������
		return jobType.get(index);
	}

}
